package com.aaa.mrcai.mapper;

import com.aaa.mrcai.pojo.entity.Area;
import com.aaa.mrcai.pojo.entity.Emp;
import com.aaa.mrcai.pojo.entity.Location;
import com.aaa.mrcai.pojo.entity.State;
import com.aaa.mrcai.pojo.vo.AreaStateVO;
import com.aaa.mrcai.pojo.vo.AreaVO;
import com.aaa.mrcai.query.AreaQuery;

import java.util.List;

/**
 * @author meowyf
 * @version 1.0
 * @Name Z_MJ
 * @date 2021/12/05 18:21:43
 */
public interface AreaMapper {
    List<Area> list(AreaQuery areaQuery);

    List<State> listState();

    Long queryAreaTotalCount(AreaQuery areaQuery);

    List<Location> location();

    List<Emp> admin();

    int addArea(AreaVO areaVO);


    int updateState(AreaStateVO areaStateVO);

    int updateStateTWO(AreaStateVO areaStateVO);
}
